package com.leador.db;

import com.leador.service.LBSTraceService;

/**
 * Created by liuha on 2016/9/17.
 */
public class SyncDBManager extends Thread{
    public LBSTraceService lbsTraceService;
    public SyncDBManager(LBSTraceService lbsTraceService){
        this.lbsTraceService = lbsTraceService;
    }
    @Override
    public void run() {
        DBManger dbManger = lbsTraceService.getDbManger();
        if(dbManger == null){
            return;
        }
        dbManger.insert();
    }
}
